package com.sanrenzu.chunbo.http;

import com.sanrenzu.chunbo.bean.zxb.LunBoBean;

import com.sanrenzu.chunbo.bean.zxb.LaoTangBean;
import com.sanrenzu.chunbo.bean.zxb.LunBoBean;
import com.sanrenzu.chunbo.bean.zxb.QiangGouBean;
import com.sanrenzu.chunbo.bean.zxb.ReMaiBean;
import com.sanrenzu.chunbo.bean.zxb.ShouYeDianJiBean;
import com.sanrenzu.chunbo.bean.zxb.ShuiGuoBean;
import com.sanrenzu.chunbo.bean.zxb.TuiJianBean;
import com.sanrenzu.chunbo.bean.sms.HomePageBean;
import com.sanrenzu.chunbo.bean.zxb.FenLeiBean;
import com.sanrenzu.chunbo.bean.zxb.XinXianBean;
import com.sanrenzu.chunbo.config.UrlConfig;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * Created by My on 2016/8/30.
 */
public interface IDataBean {

    //http://www.shequbao.net/mall/mall_index_1.php?city_id=35&num_page=1&xiaoqu_id=178973
    @GET(UrlConfig.Path.URL_ROOMBEAN)
        Call<LunBoBean> getVerticalData();

    @GET(UrlConfig.Path.URL_ROOMBEAN)
    Call<QiangGouBean> getVerticalQiangGou();

    @GET(UrlConfig.Path.URL_ROOMBEAN)
    Call<TuiJianBean> getVerticalTuiJian();

    @GET(UrlConfig.Path.URL_ROOMBEAN)
    Call<ReMaiBean> getVerticalReMai();

    @GET(UrlConfig.Path.URL_ROOMBEAN)
    Call<LaoTangBean> getVerticalLaoTang();

    //首页的点击  http://www.shequbao.net/mall/product.php   ?product_id=195
    @GET(UrlConfig.Path.URL_SHOUYEDIANJI)
    Call<ShouYeDianJiBean> getVerticalShouYe(@QueryMap() Map<String,String> params);

    //首页的点击  http://www.shequbao.net/mall/product.php?product_id=195
    @GET(UrlConfig.Path.URL_SHOUYEDIANJI)
    Call<ShouYeDianJiBean> getVerticalShouYe();

    //更多的点击 mall/product_class_an.php?city_id=35&num_page=1&class_id=1&xiaoqu_id=178973
    @GET(UrlConfig.Path.URL_SHUIGUO)
    Call<ShuiGuoBean> getVerticalShuiGuo();

    //更多的点击 mall/product_class_an.php?city_id=35&num_page=1&class_id=1&xiaoqu_id=178973
    //?city_id=35&num_page=1&class_id=1&xiaoqu_id=178973
    @GET(UrlConfig.Path.URL_XINXIAN)
    Call<XinXianBean> getVerticalXinXian(@QueryMap() Map<String,String> params);


    //首页的
    //http://api.chunbo.com/Home/newindex
    @POST(UrlConfig.Path.Home_URL)
    Call<HomePageBean> getHomePageDataBean();

}
